<!--合同审批附件展示-->
<table id="node_table">
    <thead>
        <th>合同名称</th>
        <th>合同编号</th>
        <th>合同类型</th>
        <th>盖章份数</th>
        <th>合同备注</th>
        {% if attachments.temp_id !== '' %}
        <th>附件(<a href="/node/downloadAll/{{ attachments.temp_id }}?file_name=合同审批流程.zip">批量下载</a>)</th>
        {% else %}
        <th>附件</th>
        {% endif %}
    </thead>
    <tbody>
        {% for a in intrust_attachments %}
        <tr>
            <td>{{ a.FILE_NAME }}</td>
            <td>{{ a.HTBH }}</td>
            <td>{{ dict_file_type[a.FILE_TYPE] }}</td>
            <td>{{ a.SEAL_NUMBER }}</td>
            <td>{{ a.HTBZ }}</td>
            <td>
            {% for i in attachments[a.LIST_UUID] %}
            <a href="/node/download/{{ i.ID }}">{{ i.file_name }}</a><br>
            {% endfor %}
            </td>
        </tr>
        {% endfor %}
    </tbody>
</table>
<style type="text/css">
    #node_table {
        width: 700px;
        border: 1px solid black;
    }
    #node_table td,#node_table th {
        padding: 5px;
        border: 1px solid black;
    }
    #node_table th {
        text-align: center
    }
</style>